home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xi / XChangePointerDevice.z / XChangePointerDevice
Encoding:
Text File  |  1998-10-30  |  4.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrDDDDeeeevvvviiiicccceeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrDDDDeeeevvvviiiicccceeee((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XChangePointerDevice - change which device is the X pointer
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           Status XChangePointerDevice(_d_i_s_p_l_a_y, _d_e_v_i_c_e _x_a_x_i_s, _y_a_x_i_s)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 XDevice *_d_e_v_i_c_e;
  15.                 int _x_a_x_i_s;
  16.                 int _y_a_x_i_s;
  17.  
  18.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  19.           _d_i_s_p_l_a_y     Specifies the connection to the X server.
  20.  
  21.           _d_e_v_i_c_e      Specifies the device to be used as the X
  22.                       pointer.
  23.  
  24.           _x_a_x_i_s       Specifies the axis of the device to be used as
  25.                       the X pointer x-axis.
  26.  
  27.           _y_a_x_i_s       Specifies the axis of the device to be used as
  28.                       the X pointer y-axis.
  29.  
  30.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.           The _X_C_h_a_n_g_e_P_o_i_n_t_e_r_D_e_v_i_c_e request causes the server to use
  32.           the specified device as the X pointer.  The device must have
  33.           been opened by the client via _X_O_p_e_n_D_e_v_i_c_e or a _B_a_d_D_e_v_i_c_e
  34.           error will result.  The device must support input class
  35.           _V_a_l_u_a_t_o_r_s or a _B_a_d_M_a_t_c_h error will result.  If the
  36.           implementation does not support use of the specified device
  37.           as the X pointer, a _B_a_d_D_e_v_i_c_e error will result.
  38.  
  39.           If the specified device is grabbed by another client,
  40.           _A_l_r_e_a_d_y_G_r_a_b_b_e_d is returned.  If the specified device is
  41.           frozen by a grab on another device, _G_r_a_b_F_r_o_z_e_n is returned.
  42.           If the request is successful, _S_u_c_c_e_s_s is returned.
  43.  
  44.           If the request succeeds, a _C_h_a_n_g_e_D_e_v_i_c_e_N_o_t_i_f_y event is sent
  45.           to all clients that have selected that event.  A
  46.           _M_a_p_p_i_n_g_N_o_t_i_f_y event with request = _M_a_p_p_i_n_g_P_o_i_n_t_e_r is sent to
  47.           all clients.  The specified device becomes the X pointer,
  48.           and the old X pointer becomes accessible through the input
  49.           extension protocol requests.
  50.  
  51.           _X_C_h_a_n_g_e_P_o_i_n_t_e_r_D_e_v_i_c_e can generate a _B_a_d_D_e_v_i_c_e or a _B_a_d_M_a_t_c_h
  52.           error.
  53.  
  54.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  55.           _B_a_d_D_e_v_i_c_e   An invalid device was specified.  The specified
  56.                       device does not exist, has not been opened by
  57.                       this client via _X_O_p_e_n_I_n_p_u_t_D_e_v_i_c_e, or is already
  58.                       one of the core X input devices (pointer or
  59.                       keyboard).  This error may also occur if the
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrDDDDeeeevvvviiiicccceeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXCCCChhhhaaaannnnggggeeeePPPPooooiiiinnnntttteeeerrrrDDDDeeeevvvviiiicccceeee((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                       server implementation does not support using the
  75.                       specified device as the X pointer.
  76.  
  77.           _B_a_d_M_a_t_c_h    This error may occur if an _X_C_h_a_n_g_e_P_o_i_n_t_e_r_D_e_v_i_c_e
  78.                       request was made specifying a device that has
  79.                       less than two valuators, or specifying a
  80.                       valuator index beyond the range supported by the
  81.                       device.
  82.  
  83.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  84.           XChangeKeyboardDevice
  85.           _P_r_o_g_r_a_m_m_i_n_g _W_i_t_h _X_l_i_b
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.